package Week03.Day02.Practice1;
/**
 * 游泳运动员类
 */
public  class DiveAthlete extends Athlete implements Dive {
    public DiveAthlete(){}
    public DiveAthlete(String name,int age){
        super(name,age);
    }
    @Override
    public void dive() {
        System.out.println(this.getName() + "擅长游泳");
    }
}
